const { defineConfig } = require('@vue/cli-service')
const resolve = require('path').resolve;
module.exports = defineConfig({
  transpileDependencies: [
    /node_modules[/\\\\](axios|compression-webpack-plugin|core-js|echarts|electron|element-ui|extend|jquery|js-base64|qs|terser-webpack-plugin|vue|vue-drag-resize|vue-router|vue-seamless-scroll|sockjs-client)[/\\\\]/,
  ],
  lintOnSave: false,
  publicPath: './', //解决打包之后打开 index.html为空白
  outputDir: 'dist/seeyon/H5/integrityEducation', // 打包后的文件存放的地方
  devServer: {
    proxy: {
      '/seeyon': {
         target: 'http://192.168.120.222:8011',
        changeOrigin: true,
      }
    }
  },
})
